package org.br;

import org.br.plotter.functions.Function;
import org.br.plotter.parser.FunctionParser;



public class Test {
	
	/**
	 * @param args
	 */
	public static void main(String[] args)throws Exception {


		String function = "2*x+3+sin(x)";
		Function f = Function.parseFunction(function);
		Double result = f.eval(3.5);
		
		System.out.println(result);

		
	}
	
}
